package com.pine.admin.modules.system.dao;

import java.util.List;
import java.util.Map;

import com.pine.admin.modules.system.entity.SysUserRoleEntity;
import com.pine.admin.modules.system.entity.SysUserRoleEntity;

/**
 * @author Pine
 * @email 771190883@qq.com
 * @date 2018-06-21 13:55:06
 */
public interface SysUserRoleDao {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(SysUserRoleEntity record);

    SysUserRoleEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUserRoleEntity record);

    List<SysUserRoleEntity> queryAllSysUserRole(SysUserRoleEntity record);

    List<SysUserRoleEntity> querySysUserRolesByPage(Map<String, Object> parameter);

    int delete(Integer id);

    SysUserRoleEntity querySysUserRole(SysUserRoleEntity record);

    int delUser(Integer sysUserId);

}
